#include "Engine.h"

// Screens
#include "BlankScreen\BlankScreen.h"
#include "IntroScreen\IntroScreen.h"
#include "LoadingScreen\LoadingScreen.h"
#include "MainMenuScreen\MainMenuScreen.h"
#include "CowTippingScreen\CowTippingScreen.h"

#ifndef GLE_EDITOR_MODELVIEW

//////////////////////////////////////////////////////////////////////////
// A normal game
//////////////////////////////////////////////////////////////////////////
int main(int argc, char* argv[])
{
	// the third param is a string. It is the name of the folder your MediaPaths.txt is in.
	EnginePtr->Initialize(argc, argv, "522GameDemo");
#if !GGE_PROFILER3
	EnginePtr->SetLoadingScreen(new GamePipeGame::LoadingScreen("LoadingScreen"));
	EnginePtr->AddGameScreen(new GamePipeGame::CowTippingScreen("CowTippingScreen"));
#endif
	int returnValue = EnginePtr->Run();

	return returnValue;
}

#else

//////////////////////////////////////////////////////////////////////////
// ModelViewer
//////////////////////////////////////////////////////////////////////////
int main(int argc, char* argv[])
{
	EnginePtr->Initialize(argc, argv, "522GameDemo");
	EnginePtr->SetLoadingScreen(new GamePipeGame::LoadingScreen("LoadingScreen"));
	EnginePtr->AddGameScreen(new GamePipeGame::BlankScreen("BlankScreen"));
	int returnValue = EnginePtr->Run();

	return returnValue;
}

#endif